﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HydroDesktop.Interfaces.ObjectModel;

namespace DroughtAnalysis
{
    public class VariableDisplayInfo
    {
        private Variable sourceVariable;
        private string sourceFile;
        
        public VariableDisplayInfo(Variable v)
        {
            sourceVariable = v;
        }

        public VariableDisplayInfo(Variable v, string dataFile)
        {
            sourceVariable = v;
            sourceFile = dataFile; 
        }

        public string VariableName { get { return sourceVariable.Name; } }
        public string VariableUnitsName { get { return sourceVariable.VariableUnit.Name; } }
        public string TimeUnitsName { get { return sourceVariable.TimeUnit.Name; } }
        public string FileName { get { return sourceFile; } }
    }
}
